package com.jr.dao.impl;

import com.jr.dao.IProjectDao;
import com.jr.pojo.Project;
import com.jr.util.DBHelper;

import java.util.ArrayList;

public class ProjectDaoImpl implements IProjectDao {

    private DBHelper db=new DBHelper();

    @Override
//    项目全查
    public ArrayList<Project> selectAll() {
        String sql="select * from project";
        return db.dtQuery(sql,Project.class);

    }

}
